add changes to map