We analyse eight XMM-Newton observations of the bright Narrow-Line Seyfert 1 galaxy Arakelian 564 (Ark 564). These observations, separated by ~6 days, allow us to look for correlations between the simultaneous UV emission (from the Optical Monitor) with not only the X-ray flux but also with the different X-ray spectral parameters. The X-ray spectra from all the observations are found to be adequately fitted by a double Comptonization model where the soft excess and the hard X-ray power law are represented by thermal Comptonization in a low temperature plasma and hot corona, respectively. Apart from the fluxes of each component, the hard X-ray power law index is found to be variable. These results suggest that the variability is associated with changes in the geometry of the inner region. The UV emission is found to be variable and well correlated with the high energy index while the correlations with the fluxes of each component are found to be weaker. Using viscous time-scale arguments we rule out the possibility that the UV variation is due to fluctuating accretion rate in the outer disc. If the UV variation is driven by X-ray reprocessing, then our results indicate that the strength of the X-ray reprocessing depends more on the geometry of the X-ray producing inner region rather than on the X-ray luminosity alone.