Updated deps and switched to prepared statements