update the extends also