add success callback for collection.sync