change config path/file to file for using prefix as path. change update url. change db variable to d