fix bug where average rating not updating after review edit