changes to db to dynamically configure it