Redactoring databasetable