Fixing thee update of the bounds