change title and fix refresh