Update db conf and create db