update code+plots