Added insertion to db