update tables instead of using inserts!