overriding beforeSave() method o f comment model