Updating layout for average rating