Automatic Db insertion after form updation