updating sets