updated barrier