db update with generated data