update scaffold template
support post image removing