mark and unmark as changed