updated require to accept orientdb