add update method to db class, add updated field in currency class