Fixing the mutate handler