change dbsession & manage build