update grade wrapper