update to mutation logic.