Add: Edit mode, decipher function
Update: db functions