update new bounds code