step 3, commit figure directory