@SuppressWarnings("unchecked")
	public Provider updateProvider(String token, HashMap<String, Object> provider){
		
		
		if(provider.containsKey("contact")) this.setContact((String)provider.get("contact"));
		if(provider.containsKey("name")) this.setName((String)provider.get("name"));
		if(provider.containsKey("picture")) this.setPicture((String)provider.get("picture"));
		
		if(provider.containsKey("account")){
			this.setAccount(new Account());
			this.getAccount().addAccount((HashMap<String, String>)provider.get("account"));
		}
		return this;
	}