Add refresh when geting credit from repository
I will help with behat scenarios

update