close connection when done
page navigation
update