upgrade padrino. closes #1078