Added api in PDM to set device as stale