update with the change in monitor api