adding updates snippet, test