An Inverness care home which was at risk of having its registration withdrawn has made the improvements demanded by Scotland’s care watchdog.