update static directory