[WIP]Update command and more improvements

TODO:

- [ ] - adding support to remove directories when all files from directory are removed
- [ ] - add extra param to update command (default ./) which we want to compare