database changes inside of after commit hook?