Fixes dependencies and updates ionic