Fixed bug that wouldn't update tag when using -p option, updated documentation