add update and delete queries