Added db update and insert api sections