update back-end to fix some problems