def update_values(ims, image_id, iq_zeropt=True, comment=False, snr=False, commdict=None):
    """
    Update a row in ossuary with
    :param ims: an ImageQuery, contains image table and a connector
    :param image_id: the primary key of the row to be updated
    :param iq_zeropt: Keyword set if iq and zeropoint are to be checked for updating
    :param comment: Keyword set if image is to have a comment of Stephen's added
    :param commdict: The dictionary parsed from Stephen's file of comments
    :return: No return, just updates ossuary.
    """
    updating_params = {}
    if iq_zeropt:
        updating_params = get_iq_and_zeropoint(image_id, {})
    if comment:
        updating_params = {'comment': commdict[str(image_id)]}
    if snr:
        updating_params = get_snr(image_id, {})
    ss = ims.images.update(ims.images.c.image_id == image_id)
    ims.conn.execute(ss, updating_params)

    return
Update a row in ossuary with
    :param ims: an ImageQuery, contains image table and a connector
    :param image_id: the primary key of the row to be updated
    :param iq_zeropt: Keyword set if iq and zeropoint are to be checked for updating
    :param comment: Keyword set if image is to have a comment of Stephen's added
    :param commdict: The dictionary parsed from Stephen's file of comments
    :return: No return, just updates ossuary.