pull updates before copying files