Add upgrade support
Update provider and resource