Update select and insert methods in edb
Update update method