fix beforeCreate/beforeSave
inject afterCreate lifecycle callbacks
inject afterSave lifecycle callbacks