updated server code to add robotID