Update management command to handle unicode