added EDBStage
added stage to EDBCommit
added getObject depending on stage