code update following db