replaced callbacks with after_commit