updated some barrier stuff