new function update per 4 and snake