<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update(gandi, resource, ssl, private_key, poll_cert):
 """ Update a vhost. Right now you can only activate ssl on the vhost. """

    gandi.hostedcert.activate_ssl(resource, ssl, private_key, poll_cert)