not sure what i was thinking. the code wasnt updating revisions