Fixed update bug and check for the PSOL lubrary