add pushing changes in sync()