refine back-end and db
refine back-end and db