add deadline to tasks