updating to restful todo app