updating; fixed bug where output was different DB