fixed formatting, corrected update self, tested working