def replace_vobject(self, uuid, vtodo, project=None):
self._update()<EOL>uuid = uuid.split('<STR_LIT:@>')[<NUM_LIT:0>]<EOL>if project:<EOL><INDENT>project = basename(project)<EOL><DEDENT>return self.to_task(vtodo.vtodo, project, uuid)<EOL>
Update the task with the UID from the vObject
        uuid -- the UID of the task
        vtodo -- the iCalendar to add
        project -- the project to add (see get_filesnames() as well)