upgrade initDbservice and bcrypt support