Why isn't pdf updated automatically?