Added edit cmd to actions module and made other changes.