added put request handler for queues