fix bug asset for public themes
change ->model to ->repo
updated data, and fix posting concept