modify template figure