Fixed bug in pbsnodes parser; fixed bug in update function