added raw sql part support for insert and update method