update static files handler