Read db details from json or sys env
Update record type assignment