Rename database variable to $connection