Edit and cancel edit tasks working for ram db