Deductions & credits

So I think this answers my question as well, however we lived in a house for 5 years, made a bunch of upgrades, then turned it into a rental property and sold it 10 years later (last year). it sounds like I can deduct the improvements made on the property when we lived there. Can this be confirmed? Also the follow on question is more specific about turbo tax. where do I put this in turbo tax? Just in the repairs section of the rental property?