moved parsePayloadOnCreate, parsePayloadOnUpdate into hooks