def update_project(p_dict, slug):
    """Updates project by slug"""
    updated_param = {'uri': p_dict['uri'] if 'uri' in p_dict else None,
        'name': p_dict['name'] if 'name' in p_dict else 'TimeSync API',
        'slugs': p_dict['slugs'] if 'slugs' in p_dict else [slug],
        'created_at': '2014-04-16', 'updated_at': '2014-04-18',
        'deleted_at': None, 'uuid': '309eae69-21dc-4538-9fdc-e6892a9c4dd4',
        'revision': 2, 'users': p_dict['users'] if 'users' in p_dict else {
        'patcht': {'member': True, 'spectator': False, 'manager': False},
        'tschuy': {'member': True, 'spectator': True, 'manager': True}}}
    return updated_param
