update GetObjectInfo function