Update for checking folder exists