update for backward compatibility