changed database set_password