Finish the logic of config update
picture-get algorithm update