update code in api/follow