updating api and adding process management
updating api and adding process management