added method updating the Student TreeMap in Solution