serialized object in session varible update func