Update cli to 0.5.x