db setup edit