#249 Rest api

Missing test for update rest controller