update a dist