update post.
post: enum in java.