Wraps availability update in a condition.