Correctly update pill title and params