You should allocate the land purchase price based on the purchase price when you purchased the property.
Renovations to the building are capitalized and depreciated, land is not.
Also, appreciation in land value is not part of purchase price or basis. It is unrealized gain.