added possibility to change db repo serverside