tested with pre hook for edit