db update

+ create session
+ close session