updating annotated code