added delete in dbmng_insert_nm