fixed name in params, now the date field in tasks is saving to the database