read config from Mongo advance. Problems with checkbox and update