edit connection and mysqli statement for edit, list and add bookmark