changed method PUT to update dashboard