changed status request to PUT
changed json parsing for pictures