updating class details