feat(beforeCallback): add beforeCallback to edit req