Update API routes and methods working