Fixed issues with create_members and update_members.
Objects in agent code containt diffrent properties than in plugin code.