added sync example to readme