db populate edits

to align with current db model
populate script fixed