added credits column to db