add before save method to update num or reviews