form and map refresh working