some nil issues, plus saving the updated values
reupdating the db schemae