Removed creation of database and changed id to name in parameters