There is an api for changing process definitions that were already loaded... using it might help (I ve never tried it though). But if you just load your knowledge base with a new version of a pending workflow you may eventually break execution of pending instances depending on your changes.