update apt before installing the jdk; add instructions for updating the visualizer version