add function create file json
add function up menu
update function up menu