add static dir
finish the update follow function