Update to version 0.6, database fix, validation fix