added previous state id to comments table
added previous state id to comments table