fixed bug where updates were going to wrong table