updated average_rating method in spot class