update for pandas changes