Added update function.
Memory is now claimed at the beginning of the creation prozess and returned upon failure.
Merge branch 'test' into dtrace