Can I capitalise repairs to an asset leased under an operating lease

My company leases a crane under an operating lease. Under the lease we must maintain the asset. We need to replace the engine for circa $40K. Can we capitalise the replacement engine? Would this be considered a leasehold improvement which we would depreciate over the remaining lease period?