Add update function, improve gitsync

gitsync now takes a push/pull parameter
Update automatically updates the dotfiles repo