Fixed hash mistake in edit action