write new bin version on db