update pdf directory
reduce wait time when submitting