I'm currently building a website where students can give ratings of their schools out of 5 stars. Each school will be rated depending on the following criteria: location, size, amenities, teachers teaching quality, etc. I need a solution for when users submit the form data for a school rating, it adds the user's rating data to the school's average rating data shown on the main page, where users can only view. As I mentioned, there are different criterias, and each criteria will be rated out of 5 stars. On the main page, the formula for each of the criteria will be an average of all users ratings for that criteria.