Added 'when' parameter for scheduling new updates.