reverting DB changes back