update prototype done