Function to update Legitimacy and Grievance