update version
move sync to a boolean, and use it on the update, not the get