password set fix, database creation fix. SQL update