db reader fix

now it submit changes in db