Broke up update function into core, _pre and _post functions in order to allow for easier addition of another specialized updating function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Merge branch 'master' of https://github.com/ibell/coolprop

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>