Added sync action

Still missing metadata sync