refactoring to use jerseyUtil and adding update folder processor