saves sold item to database