Add deleted column to local db and change modify to modified.