Add action type instead of using bool
Pending tests for adding entries