Load name from block and update function name from contract editor