update view scripts