update backend: manage posts