working copy status, checkout, switch and update fns