collection updated and post api updaetd