Update the dots position