Fixes installer upgrade