PUT handler