addToDB and updateField and getFromDB