Add update ticket fuction to pysnot

Also add a few helper functions to make this functionality
more broken out and less monolithic