added sync command