Fix refresh after update

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>