implemented sync for comments