add the ability to do something after creating a record