Added session clearance after entity update