def METHOD_NAME(self, application, application_kwargs):
    """
    Update given application with option values.
    """
    for key, value in application_kwargs.items():
        setattr(application, key, value)
    application.save()
    logger.info('Updated {} application with id: {}, client_id: {}, and client_secret: {}'.format(
        application.name,
        application.id,
        application.client_id,
        application.client_secret,
    ))