update reservoir to lear and predict inputs optionally