update with cursor