Update getActionbyEntity -> getActionsByEntity