update.sql

revise for VIEW