renamed beforeInsert afterInsert callback to beforeCreate and afterCreate callbacks