Fix Agent update