update app title and db conn