Changed afterSave to beforeSave - only way it wold work