Adjust grades template