Added method to update progress to a particular percentage - fixes #2

Hey @hallas,

Here's some code to `update` the progress bar to a given ratio (between 0 and 1). Some of the behavior may need tweaking, but I'd like to at least start some conversation around it.