updated AmberDbService to cater for change in amberdb constructor.