Update inventory dao code