c/progress_bar: Added opts and update_opts method