update: creates folder if it doesn't exist