insert all to db