Updating row selected by cursor