updating database scripts in credential store