update stokes image