modified so no id is tried to be updated