write positions to db

[Delivers #59942720]