change last day of class