refresh image data right after picture taken