This method returns data, and it also changes it, but it doesn't save the changes to the database. This seems weird.