update sql command for insterting response