Update insert in DB