further changed afterCreate login in Message model