update function

Update BAS object using a new prior