change in sync logic