Guys my problem is resolved and we don't need to find exact phstamp to update those attributes since phstamp is something which gets generated with response, so a normal random number can be used as phstamp, since i guess it's something which is generated at client end and server doesn't have its record.
Server only seeks for this attribute at the time of update.