Added Database.updateBLOB to update stored data.
Added 'name' to unique key in encrypted_data table.