added endpoint for updating the journal