added flip/pic velocity update