refresh pages after action