Update progress number on directive initialization.