save objs to db