Added endpoint for updating details of a lamp