changes to the new guardian api