Added incr and decr prepared statements
Added code so that the LODs are updated on insertion and removal