update application layout and generate visitor resource