finished update code for completed achievement