Updates dict for better API.