Image update with a thread