changed s3watcher API to sync