using put against class route