Updating dao implementation to include prepared statement implementation