updating purchasing status update logic