Handler for updating the investment

Fixes #25

I think this has to change to a put at some point.