Update define statment in views