update controller with no db, fixes #36