Fixes for 'update'

- Add space in directory test syntax
- use _make_links after git pull