add inputs to custommize data
fix model definition