Update progress line instead of writing a whole new one