Changes pods upgrade stage and fixes warning abuout encoding