updated all DBmanagers insert methods to retrieve the auto generated key