Regarding the Presence Update in Roster

Hi,

I have problem in presence updation after I do the getRoster() in spark, I m able to get the Group data and Entries, but the presence of the entities i m getting as Offline.Please help me in this regard.