SQL Update insert and more OO select