update Design and add delete, update functionalities for class and session