set item based on message from server