Update Manage sales

closed conns in db helper

updated manage sales