use g_strdup in update_frame_tool_bar