add update method in DBManager. add a cli process bar(todo:need to improve, with a seperate thread.)