fixing the static file update process