Storing latest global id