add view and script to update a single page