update to be compatible with changes to sagan