Added a function to send lot group ids to the server