update default value for imgsize and database name