sync code and tutorial