check for branch before checking for update