Added animation to progressbar update