Average_rating method updated
fixing merge error