Add logging for PUT action