function updateElement(id, result) {
  return {
    type: UPDATE_RESULT,
    payload: { id, result }
  }
}
Action to update displayed element with new result
@param  {String} id
@return {Object}  redux action