Modify a function of synchronization of s3-related tables