Add upgrade to 0.5