updated actions API
added edit/cancel buttons
refactoring cache to new actions API