I've installed Thai's extension and setup configuration through admin panel, then I used following commands
php bin/magento s3:storage:export
php bin/magento s3:storage:enable
and it works fine, but whenever I try to replace an image on specific directory to be replaced on product it doesn't replace and old image still previewed.