Adding sync() to the readme