Use select fun for update