clean up static dir when updating