adding new trainning stage with object database