Update database env for build