update a target