use delete/insert query