finish write access to DB round 2