def update_time(p_dict, uuid):
    """Updates time by uuid"""
    updated_param = {'duration': p_dict['duration'] if 'duration' in p_dict
         else 18, 'user': p_dict['user'] if 'user' in p_dict else
        'example-user', 'activities': p_dict['activities'] if 'activities' in
        p_dict else ['qa'], 'project': p_dict['project'] if 'project' in
        p_dict else ['ganeti'], 'notes': p_dict['notes'] if 'notes' in
        p_dict else None, 'issue_uri': p_dict['issue_uri'] if 'issue_uri' in
        p_dict else 'https://github.com/osuosl/ganeti_webmgr/issues/56',
        'date_worked': p_dict['date_worked'] if 'date_worked' in p_dict else
        '2015-08-07', 'created_at': '2014-06-12', 'updated_at':
        '2015-10-18', 'deleted_at': None, 'uuid': uuid, 'revision': 2}
    return updated_param
