updated image path when checking darkness level