database now will be commited after every change