modify spec and modify models