update Residue.pyx