changed return type of prepareMutation to ExistingElementMutation