Renew Passport: Go to chinese Embassy, it takes 4 days to process
Study Permit: need to be sent to a different place, it normally takes couple months to process.
I sugess you do it ASAP, and you need to 提供在读证明 for both. Go to Tory Building (if you are UC student), get a certificate of enrollment and transcrip.