added ag and update