DB methods update

check for duplicate entry
update record if duplicate
added new properties to schema