add Model.input() function
update dependencies