Adding code deploy.

Okay, so code deploy itself works, but the optional cache clear and update.php aren't working. Am I using the right API calls @joshkoenig ?