updated endpoint for creating a dashboard