Only set values if they are not null
Check first if server id changed to avoid useless set of values