import json


def prepare_update_record(record):
    """
    Remove unecessary/forbidden attributes from record so it's possible to
    reuse on the entity.update API call.
    """
    json_loaded = json.loads(record)
    not_allowed_keys = ['created']

    for key in not_allowed_keys:
        del json_loaded[key]
    return json.dumps(json_loaded)