updates ceiling for BST