add query options to before- and after[create, update and destroy]