Updates dock position