Corrected sql-statement in updateJournal