update process bar