Performs put request when toggling completed state of items