def METHOD_NAME(custom_form):
    """
    after patch method
    :param custom_form:
    :return:
    """
    translation = []
    data = custom_form['data']
    attributes = data['attributes']
    if attributes and attributes['is-complex']:
        customFormTranslates = (
            CustomFormTranslates.query.filter_by(custom_form_id=data['id'])
            .filter_by(form_id=attributes['form-id'])
            .all()
        )
        for customFormTranslate in customFormTranslates:
            translation.append(customFormTranslate.convert_to_dict())
        attributes['translations'] = translation
    return custom_form