update dbmng_insert and dbmng_update

added the functionality to manage auto fields