updated ormlite config
fixed storing state of units, still having issues with lowest level hierarchy