update view script