before bin update