commit before changing smth in database