fixed PUT activity for API requests