updating moving snake