Fixed editing database integration.