lazy writting to database for theme model as generate _id only