update for sage 5.9