Fix working paths in update