fix update controller
Merge pull request #21 from Benoitlecorre/controller

fix update controller