setting handling in elasticDB
lots of stuff changed