updated total rating and poermission rating