update format_source