update inventory dao