added refresh after win