update bug cleaned out, individual rownumbers stored in db