'submit_after' hook