updated mutate