fix error data in submit editForm to method PATCH