updated what's written, added userid