Update database clean

Updates for database clean, yeah pushed to the wrong repo, sorry !