update and create views